package com.wlc.thread.demo05;

import java.util.concurrent.Callable;
import java.util.concurrent.FutureTask;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description MyCallable
 * @date 2021-09-17 11:57
 */
public class MyCallAble2 implements Callable<String> {

    @Override
    public String call() throws Exception {
        System.out.println(Thread.currentThread().getName()+"线程执行中");
        return "hello";
    }

    public static void main(String[] args) throws Exception {


    }
}
